import $http from '@/assets/js/http'

/**
 * @param isChecked {Number} 审核状态：1所有、2审核中、3审核不通过、4审核通过
 */
//查询心情总站数据
export function moodList(isChecked,title,index,size) {
    return $http.get('/manage/mood/list', {
        params: {
            isChecked:isChecked,
            title:title,
            pageIndex: index, 
            pageSize: size, 
        }
    });
}

/**
 * //查询心情详情 
 */
export function moodLookDetail(id) {
    return $http.get('/manage/mood/detail', {
        params: {
            id:id,
        }
    });
}
/**
 *  删除心情
 */
export function postMoodDelete(ids) {
    return $http.post('/manage/mood/delete', {
        id:ids,
    });
}